<script lang="ts">
import { defineComponent, h } from 'vue';

export default defineComponent({
	created() {
		const { params, query } = useRoute();
		const { path }: any = params;
		const router = useRouter();
    const newPath = path.replaceAll('@@@', '\/');
		router.replace({ path: newPath, query }).catch(err => {
			console.warn(err)
		})
	},
	render() {
		return h('div')
	}
})
</script>
